/*
 *  NTCTables.h
 *  AppleDialogPMU
 *
 *  Created by Heiko Panther on 4/13/09.
 *  Copyright 2009 Apple Computer, Inc.. All rights reserved.
 *
 */

struct NTCLUT {
	uint32_t ohm;
	int32_t centiCelsius;
};

// ERTJZEG103JA is the thermistor on the N18 MLB.
static const struct NTCLUT ERTJZEG103JA[] = {
{ 205200, -4000 },
{ 154800, -3500 },
{ 117900, -3000 },
{ 90690, -2500 },
{ 70370, -2000 },
{ 55070, -1500 },
{ 43440, -1000 },
{ 34530, -500 },
{ 27640, 0 },
{ 22270, 500 },
{ 18060, 1000 },
{ 14740, 1500 },
{ 12110, 2000 },
{ 10000, 2500 },
{ 8309,  3000 },
{ 6941,  3500 },
{ 5828,	 4000 },
{ 4916,	 4500 },
{ 4165,  5000 },
{ 3543,  5500 },
{ 3027,  6000 },
{ 2595,  6500 },
{ 2233,  7000 },
{ 1929,  7500 },
{ 1672,  8000 },
{ 1451,  8500 },
{ 1261,  9000 },
{ 1097,  9500 },
{ 956,  10000 },
{ 836,  10500 },
{ 732,  11000 },
{ 642,  11500 },
{ 565,  12000 },
{ 494,  12500 },
{ 0, 0} };

// TDK NTCG103JF103F is the thermistor in the N18 battery pack.
// This table is also used for the Murata NCP03XH103F05RL since its B
// is comparable at B=3380 and B=3435 at 50/85°C
// The Murata part is used on board and battery of N90.
static const struct NTCLUT NTCG103JF103F[] = {
{ 188500, -4000 },
{ 144290, -3500 },
{ 111330, -3000 },
{ 86560, -2500 },
{ 67790, -2000 },
{ 53460, -1500 },
{ 42450, -1000 },
{ 33930, -500 },
{ 27280, 0 },
{ 22070, 500 },
{ 17960, 1000 },
{ 14700, 1500 },
{ 12090, 2000 },
{ 10000, 2500 },
{ 8310,  3000 },
{ 6940,  3500 },
{ 5830,  4000 },
{ 4910,  4500 },
{ 4160,  5000 },
{ 3540,  5500 },
{ 3020,  6000 },
{ 2590,  6500 },
{ 2230,  7000 },
{ 1920,  7500 },
{ 1670,  8000 },
{ 1450,  8500 },
{ 1270,  9000 },
{ 1110,  9500 },
{ 980,  10000 },
{ 860,  10500 },
{ 760,  11000 },
{ 670,  11500 },
{ 600,  12000 },
{ 530,  12500 },
{ 0, 0 } };
